WPForms\Helpers\CacheBase A

Total Complexity 52
Dependencies 4
Dependents 0
Total lines 548
Lines of code 214
Logical lines of code 102
Comment lines 156
Methods 20
Properties 6

Methods 20

Method Rating Maintainability Complexity Lines of code
perform_remote_request()
A
40 8 64
update()
S
51 7 27
schedule_update_cache()
S
58 4 16
init()
S
59 4 16
sync_updates()
S
63 4 11
get_from_cache()
S
63 4 10
prepare_cache_data()
S
71 3 6
get()
S
67 3 8
exists()
S
79 2 3
hooks()
S
65 2 9
cache_dir_complete()
S
67 2 9
update_settings()
S
63 1 11
invalidate_cache()
S
81 1 3
allow_load()
S
100 1 0
add_log()
S
67 1 9
cache_time()
S
80 1 3
is_expired_cache()
S
78 1 3
get_cache_dir()
S
81 1 3
setup()
S
100 1 0
maybe_update_transient()
S
82 1 3